#include <stdio.h>

int age(int n);

int main()
{
    int n = 12;
    printf("Age is %d\n", age(n));
    return 0;
}

int age(int n)
{
    int c;
    if (n == 1) {
        c = 10;
    } else {
        c = age(n - 1) + 2;
    }
    return c;
}